package com.ebring.shareEducation.service;

import com.ebring.shareEducation.bean.Comments;
import com.ebring.shareEducation.utils.RspMsg;

import java.util.List;

public interface CommentsService {
    /**
     * 查找所有评论
     *
     */
	List<Comments> selectComments();

    /**
     * 根据评论id修改评论
     */
    RspMsg<Comments> updateComments(Comments comments);

	/**
     * 通过ID删除评论
     */
    RspMsg<Comments> deleteById(String commentsId);

    /**
     * 新增评论
     */
    RspMsg<Comments> insertComments(Comments comments);

    /**
     * 查询用户拥有的评论
     */

	List<Comments> selectUComments(Comments comments);











}
